MIQID\Plugin\Core\Frontend\User_Switching D

Total Complexity 135
Dependencies 3
Dependents 1
Total lines 1,077
Lines of code 584
Logical lines of code 316
Comment lines 353
Methods 34
Properties 1

Methods 34

Method Rating Maintainability Complexity Lines of code
action_init()
B
36 19 83
action_admin_bar_menu()
A
39 13 70
switch_to_user()
A
46 10 37
user_switching_clear_olduser_cookie()
S
50 7 28
filter_user_has_cap()
S
55 7 20
user_switching_get_auth_cookie()
S
59 6 14
action_bp_button()
S
51 5 26
action_wp_footer()
S
53 5 24
filter_login_message()
S
50 4 29
user_switching_set_olduser_cookie()
S
50 4 28
authenticate_old_user()
S
59 4 15
forget_woocommerce_session()
S
61 4 13
action_plugins_loaded()
S
65 4 11
action_bbpress_button()
S
55 3 20
maybe_switch_url()
S
63 4 10
get_redirect()
S
59 3 15
filter_map_meta_cap()
S
66 4 8
switch_off_user()
S
61 3 12
action_wp_meta()
S
57 2 18
get_old_user()
S
64 3 10
action_personal_options()
S
62 2 12
init_hooks()
S
54 1 19
user_switching_get_olduser_cookie()
S
69 2 7
current_url()
S
77 2 3
remove_query_args()
S
71 2 6
secure_olduser_cookie()
S
77 2 3
secure_auth_cookie()
S
77 2 3
current_user_switched()
S
72 2 6
__construct()
S
82 1 3
switch_off_url()
S
69 1 6
switch_back_url()
S
69 1 6
filter_removable_query_args()
S
70 1 7
remember()
S
70 1 5
switch_to_url()
S
68 1 7